Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 4 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@
"minimum-stability": "stable",
"scripts": {
"test": "./vendor/bin/pest --parallel",
"test:watch": "composer test -- --watch",
"test:coverage": "XDEBUG_MODE=coverage composer test -- --coverage --min=97.4",
"test:coverage:watch": "composer test:coverage -- --watch",
"test:type-coverage": "composer test -- --type-coverage --min=100",
"test:type-coverage:watch": "composer test:type-coverage -- --watch",
"phpstan": "./vendor/bin/phpstan --memory-limit=2G",
"pint": "./vendor/bin/pint"
},
Expand All @@ -33,12 +30,12 @@
},
"require-dev": {
"laravel/pint": "^1.16",
"pestphp/pest": "^3.7.4",
"pestphp/pest-plugin-type-coverage": "^3.2.3",
"pestphp/pest-plugin-watch": "^3.0.0",
"pestphp/pest": "^5.1.3",
"pestphp/pest-plugin-type-coverage": "^5.0.2",
"phpstan/phpstan": "^2.1.2",
"phpstan/phpstan-strict-rules": "^2.0.3",
"phpstan/extension-installer": "^1.4"
"phpstan/extension-installer": "^1.4",
"pestphp/pest-plugin-phpstan": "^5.2"
},
"config": {
"allow-plugins": {
Expand Down
144 changes: 0 additions & 144 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -1,151 +1,7 @@
parameters:
ignoreErrors:
-
rawMessage: 'Call to method toBe() of internal class Pest\Mixins\Expectation<TValue> from outside its root namespace Pest.'
identifier: method.internalClass
count: 11
path: tests/Unit/ArrayIteratorTest.php

-
rawMessage: 'Call to method toBeTrue() of internal class Pest\Mixins\Expectation<TValue> from outside its root namespace Pest.'
identifier: method.internalClass
count: 1
path: tests/Unit/ArrayIteratorTest.php

-
rawMessage: 'Call to method with() of internal class Pest\PendingCalls\TestCall from outside its root namespace Pest.'
identifier: method.internalClass
count: 5
path: tests/Unit/ArrayIteratorTest.php

-
rawMessage: 'Call to method toBe() of internal class Pest\Mixins\Expectation<TValue> from outside its root namespace Pest.'
identifier: method.internalClass
count: 26
path: tests/Unit/ArraySectionIteratorTest.php

-
rawMessage: 'Call to method toBeFalse() of internal class Pest\Mixins\Expectation<TValue> from outside its root namespace Pest.'
identifier: method.internalClass
count: 1
path: tests/Unit/ArraySectionIteratorTest.php

-
rawMessage: 'Call to method toBeJson() of internal class Pest\Mixins\Expectation<TValue> from outside its root namespace Pest.'
identifier: method.internalClass
count: 2
path: tests/Unit/ArraySectionIteratorTest.php

-
rawMessage: 'Call to method toBeTrue() of internal class Pest\Mixins\Expectation<TValue> from outside its root namespace Pest.'
identifier: method.internalClass
count: 1
path: tests/Unit/ArraySectionIteratorTest.php

-
rawMessage: 'Call to method toHaveKeys() of internal class Pest\Mixins\Expectation<TValue> from outside its root namespace Pest.'
identifier: method.internalClass
count: 1
path: tests/Unit/ArraySectionIteratorTest.php

-
rawMessage: 'Call to method with() of internal class Pest\PendingCalls\TestCall from outside its root namespace Pest.'
identifier: method.internalClass
count: 11
path: tests/Unit/ArraySectionIteratorTest.php

-
rawMessage: 'Call to method toBe() of internal class Pest\Mixins\Expectation<TValue> from outside its root namespace Pest.'
identifier: method.internalClass
count: 1
path: tests/Unit/FullTextTest.php

-
rawMessage: 'Call to method toBeGreaterThan() of internal class Pest\Mixins\Expectation<TValue> from outside its root namespace Pest.'
identifier: method.internalClass
count: 1
path: tests/Unit/FullTextTest.php

-
rawMessage: 'Call to method with() of internal class Pest\PendingCalls\TestCall from outside its root namespace Pest.'
identifier: method.internalClass
count: 1
path: tests/Unit/FullTextTest.php

-
rawMessage: 'Call to method throws() of internal class Pest\PendingCalls\TestCall from outside its root namespace Pest.'
identifier: method.internalClass
count: 1
path: tests/Unit/JsonDecoderTest.php

-
rawMessage: 'Call to method toBeArray() of internal class Pest\Mixins\Expectation<TValue> from outside its root namespace Pest.'
identifier: method.internalClass
count: 1
path: tests/Unit/JsonDecoderTest.php

-
rawMessage: 'Call to method toBeFalse() of internal class Pest\Mixins\Expectation<TValue> from outside its root namespace Pest.'
identifier: method.internalClass
count: 1
path: tests/Unit/JsonDecoderTest.php

-
rawMessage: 'Call to method toBeNull() of internal class Pest\Mixins\Expectation<TValue> from outside its root namespace Pest.'
identifier: method.internalClass
count: 1
path: tests/Unit/JsonDecoderTest.php

-
rawMessage: 'Call to method toBeObject() of internal class Pest\Mixins\Expectation<TValue> from outside its root namespace Pest.'
identifier: method.internalClass
count: 1
path: tests/Unit/JsonDecoderTest.php

-
rawMessage: 'Call to method toBeTrue() of internal class Pest\Mixins\Expectation<TValue> from outside its root namespace Pest.'
identifier: method.internalClass
count: 1
path: tests/Unit/JsonDecoderTest.php

-
rawMessage: 'Call to method with() of internal class Pest\PendingCalls\TestCall from outside its root namespace Pest.'
identifier: method.internalClass
count: 6
path: tests/Unit/JsonDecoderTest.php

-
rawMessage: 'Call to method toBe() of internal class Pest\Mixins\Expectation<TValue> from outside its root namespace Pest.'
identifier: method.internalClass
count: 8
path: tests/Unit/StringableTest.php

-
rawMessage: 'Call to method toBeTrue() of internal class Pest\Mixins\Expectation<TValue> from outside its root namespace Pest.'
identifier: method.internalClass
count: 3
path: tests/Unit/StringableTest.php

-
rawMessage: 'Parameter #1 $string of static method Artemeon\Support\StringUtil::of() expects string, null given.'
identifier: argument.type
count: 1
path: tests/Unit/StringableTest.php

-
rawMessage: 'Call to method toBe() of internal class Pest\Mixins\Expectation<TValue> from outside its root namespace Pest.'
identifier: method.internalClass
count: 1
path: tests/Unit/TimerTest.php

-
rawMessage: 'Call to method toBeLessThan() of internal class Pest\Mixins\Expectation<TValue> from outside its root namespace Pest.'
identifier: method.internalClass
count: 2
path: tests/Unit/TimerTest.php

-
rawMessage: 'Call to method with() of internal class Pest\PendingCalls\TestCall from outside its root namespace Pest.'
identifier: method.internalClass
count: 1
path: tests/Unit/TimerTest.php
2 changes: 1 addition & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/13.3/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
>
Expand Down
Loading