Skip to content

Commit

Permalink
Drop unmaintained version of doctrine/persistence
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire committed Apr 2, 2022
1 parent c99d7d0 commit beea147
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 12 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"ext-pdo_sqlite": "*",
"doctrine/coding-standard": "^9",
"doctrine/orm": "^2.6",
"doctrine/persistence": "^1.3 || ^2.0",
"doctrine/persistence": "^2.0",
"doctrine/sql-formatter": "^1.0",
"ergebnis/composer-normalize": "^2.9",
"phpstan/phpstan": "^1.5",
Expand Down
2 changes: 1 addition & 1 deletion phpcs.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<arg name="cache" value=".phpcs-cache"/>
<arg name="colors"/>

<config name="php_version" value="70200"/>
<config name="php_version" value="70300"/>

<!-- Ignore warnings, show progress of the run and show sniff names -->
<arg value="nps"/>
Expand Down
8 changes: 4 additions & 4 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
</testsuite>
</testsuites>

<filter>
<whitelist>
<coverage>
<include>
<directory>./lib/</directory>
</whitelist>
</filter>
</include>
</coverage>
</phpunit>
6 changes: 0 additions & 6 deletions tests/Doctrine/Migrations/Tests/BoxPharCompileTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,13 @@
use function realpath;
use function sprintf;

use const PHP_VERSION_ID;

/**
* @requires OS Linux|Darwin
*/
class BoxPharCompileTest extends TestCase
{
public function testCompile(): void
{
if (PHP_VERSION_ID < 70200) {
self::markTestSkipped('https://github.com/box-project/box/issues/489');
}

$boxPharPath = __DIR__ . '/../../../../box.phar';

if (! file_exists($boxPharPath)) {
Expand Down

0 comments on commit beea147

Please sign in to comment.