Skip to content

Commit 3618e23

Browse files
committed
build: updated to PHPUnit v13
1 parent 3f09a8a commit 3618e23

File tree

57 files changed

+562
-383
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+562
-383
lines changed

AGENTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ It is built using HTML5, CSS, TypeScript, and PHP and supports various databases
1212
- `/phpmyfaq/docs`: Contains the documentation for the project.
1313
- `/phpmyfaq/assets`: Contains the TypeScript and SCSS source files for the frontend.
1414
- `/phpmyfaq/src/phpMyFAQ`: Contains the source code for the PHP backend.
15-
- `/tests`: Contains PHPUnit v12 based unittests.
15+
- `/tests`: Contains PHPUnit v13 based unittests.
1616

1717
## Development Setup
1818

@@ -37,7 +37,7 @@ It is built using HTML5, CSS, TypeScript, and PHP and supports various databases
3737
- It uses PNPM as the package manager for JavaScript/TypeScript dependencies.
3838
- It uses Composer as the package manager for PHP dependencies.
3939
- Twig as the templating engine.
40-
- PHPUnit v12 for PHP-based unit testing, vitest for TypeScript-based unit testing.
40+
- PHPUnit v13 for PHP-based unit testing, vitest for TypeScript-based unit testing.
4141
- Docker for containerization.
4242
- GitHub Actions for CI/CD.
4343
- Mago for code quality and static analysis.

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ This is a log of major user-visible changes in each phpMyFAQ release.
3434
- improved update process (Thorsten)
3535
- improved and hardened multi tenancy support (Thorsten)
3636
- improved and redesigned searchable admin configuration frontend (Thorsten)
37+
- updated to PHPUnit v13 (Thorsten)
3738
- migrated codebase using PHP 8.4 language features (Thorsten)
3839
- migrated routes using PHP 8+ #[Route] attributes (Thorsten)
3940
- migrated to Vite v8 (Thorsten)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Then open http://www.example.org/phpmyfaq/setup/ in your browser.
141141

142142
### PHP
143143

144-
To run our unit tests via PHPUnit v12.x, execute this command on your CLI
144+
To run our unit tests via PHPUnit v13.x, execute this command on your CLI
145145

146146
$ curl -s https://getcomposer.org/installer | php
147147
$ php composer.phar install

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"doctrine/instantiator": "2.*",
6767
"mikey179/vfsstream": "^1.6",
6868
"phpdocumentor/reflection-docblock": "^5.6",
69-
"phpunit/phpunit": "^12.3",
69+
"phpunit/phpunit": "^13.0.5",
7070
"rector/rector": "^2",
7171
"symfony/browser-kit": "^8.0",
7272
"symfony/css-selector": "^8.0",
@@ -85,7 +85,7 @@
8585
},
8686
"config": {
8787
"platform": {
88-
"php": "8.4.0"
88+
"php": "8.4.1"
8989
},
9090
"process-timeout": 0,
9191
"secure-http": true,

0 commit comments

Comments
 (0)