Skip to content

Commit

Permalink
bump: PHPUnit 11 (#208)
Browse files Browse the repository at this point in the history
* bump: PHPUnit 11

* fix: functional test diffs

* fix: functional test diffs
  • Loading branch information
dkarlovi authored Feb 9, 2024
1 parent 4304692 commit aca90d0
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 19 deletions.
5 changes: 1 addition & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,9 @@
"symfony/yaml": "^6.4 || ^7.0"
},
"require-dev": {
"phpunit/phpunit": "^10.1",
"phpunit/phpunit": "^11.0",
"sigwin/infra": "~1.9.0"
},
"conflict": {
"nikic/php-parser": "< 4.14"
},
"autoload": {
"psr-4": {
"Sigwin\\YASSG\\": "src/"
Expand Down
6 changes: 3 additions & 3 deletions tests/functional/init/fixtures/404.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="robots" content="noindex,nofollow,noarchive">
<meta charset="UTF-8" />
<meta name="robots" content="noindex,nofollow,noarchive" />
<title>An Error Occurred: Not Found</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>❌</text></svg>">
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>❌</text></svg>" />
<style>body { background-color: #fff; color: #222; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; margin: 0; }
.container { margin: 30px; max-width: 600px; }
h1 { color: #dc3545; font-size: 24px; }
Expand Down
1 change: 1 addition & 0 deletions tests/functional/init/fixtures/assets/app.15e42ade.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion tests/functional/init/fixtures/assets/app.9267444a.js

This file was deleted.

8 changes: 4 additions & 4 deletions tests/functional/init/fixtures/assets/entrypoints.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
"entrypoints": {
"app": {
"js": [
"/sub/dir/another/assets/runtime.4d1205b9.js",
"/sub/dir/another/assets/app.9267444a.js"
"/sub/dir/another/assets/runtime.1e02b157.js",
"/sub/dir/another/assets/app.15e42ade.js"
],
"css": [
"/sub/dir/another/assets/app.2e773b84.css"
]
}
},
"integrity": {
"/sub/dir/another/assets/runtime.4d1205b9.js": "sha384-J2jFm3DPgrcqyvls0fZlS51nUYgiBB+JLwWiU5v7vxEbLwKolmaHrRuz4BjP6qaE",
"/sub/dir/another/assets/app.9267444a.js": "sha384-WbAUi92ziCGFD1kGZRzpOP8Nxymnw5vXM3szOB1JmBrCU+MVGXBRReCttizXHDdI",
"/sub/dir/another/assets/runtime.1e02b157.js": "sha384-5jxdqASILzXK9ebUc2vUrPNybxKD2ordJReQ1wZL1EOs6eTC2BPyFky4TMPa6A09",
"/sub/dir/another/assets/app.15e42ade.js": "sha384-VnBf9J3ovFKQ4dtek5PGbrcFjIE8bz/MCQnHze9cOEKVi67oXYasIj1ZX0y8tNB5",
"/sub/dir/another/assets/app.2e773b84.css": "sha384-t56F6yDakn/jYRHL6uxVbMaf/JtnF0k7yEall1cerAGjo0kfE3W7foG5+n1Ynxd5"
}
}
4 changes: 2 additions & 2 deletions tests/functional/init/fixtures/assets/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"assets/app.css": "/sub/dir/another/assets/app.2e773b84.css",
"assets/app.js": "/sub/dir/another/assets/app.9267444a.js",
"assets/runtime.js": "/sub/dir/another/assets/runtime.4d1205b9.js",
"assets/app.js": "/sub/dir/another/assets/app.15e42ade.js",
"assets/runtime.js": "/sub/dir/another/assets/runtime.1e02b157.js",
"assets/images/sigwin.svg": "/sub/dir/another/assets/images/sigwin.6f9a3d5b.svg"
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/functional/init/fixtures/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ <h3>
</div>
</main>

<script src="/sub/dir/another/assets/runtime.4d1205b9.js" integrity="sha384-J2jFm3DPgrcqyvls0fZlS51nUYgiBB+JLwWiU5v7vxEbLwKolmaHrRuz4BjP6qaE"></script><script src="/sub/dir/another/assets/app.9267444a.js" integrity="sha384-WbAUi92ziCGFD1kGZRzpOP8Nxymnw5vXM3szOB1JmBrCU+MVGXBRReCttizXHDdI"></script>
<script src="/sub/dir/another/assets/runtime.1e02b157.js" integrity="sha384-5jxdqASILzXK9ebUc2vUrPNybxKD2ordJReQ1wZL1EOs6eTC2BPyFky4TMPa6A09"></script><script src="/sub/dir/another/assets/app.15e42ade.js" integrity="sha384-VnBf9J3ovFKQ4dtek5PGbrcFjIE8bz/MCQnHze9cOEKVi67oXYasIj1ZX0y8tNB5"></script>
</body>
</html>
6 changes: 3 additions & 3 deletions tests/functional/site/fixtures/404.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="robots" content="noindex,nofollow,noarchive">
<meta charset="UTF-8" />
<meta name="robots" content="noindex,nofollow,noarchive" />
<title>An Error Occurred: Not Found</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>❌</text></svg>">
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>❌</text></svg>" />
<style>body { background-color: #fff; color: #222; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; margin: 0; }
.container { margin: 30px; max-width: 600px; }
h1 { color: #dc3545; font-size: 24px; }
Expand Down

0 comments on commit aca90d0

Please sign in to comment.