Skip to content

Commit

Permalink
update phpunit and others
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Kuhlmay committed Mar 26, 2024
1 parent 75ecc34 commit b527211
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 3 deletions.
15 changes: 15 additions & 0 deletions Tests/bootstrap.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php

declare(strict_types=1);

/*
* This file is part of the "extension_builder" extension for TYPO3 CMS.
*
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*/

require __DIR__ . '/../.Build/vendor/autoload.php';

// Needed for PageRenderer mock
// defined('LF') ?: define('LF', chr(10));
18 changes: 18 additions & 0 deletions UnitTests.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../.Build/vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="bootstrap.php"
executionOrder="random"
>
<testsuites>
<testsuite name="Unit tests">
<directory>Tests/Unit/</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory>../Classes/</directory>
</include>
</source>
</phpunit>
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.18",
"roave/security-advisories": "dev-latest",
"sebastian/diff": "^3.0",
"sebastian/diff": "^5.0",
"typo3/cms-frontend": "^11.4",
"typo3/cms-install": "^11.4",
"typo3/coding-standards": "^0.3.0",
"typo3/testing-framework": "^6.11"
"typo3/testing-framework": "^7",
"phpunit/phpunit": "^10"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit b527211

Please sign in to comment.