diff --git a/src/DynamicMethodTrait.php b/src/DynamicMethodTrait.php index 333176b3..6f8d5781 100644 --- a/src/DynamicMethodTrait.php +++ b/src/DynamicMethodTrait.php @@ -28,7 +28,7 @@ public function __call(string $name, array $args) return reset($result); } - // match native PHP behaviour as much as possible + // match native PHP behavior as much as possible // https://3v4l.org/eAv7t $class = static::class; do { diff --git a/src/WarnDynamicPropertyTrait.php b/src/WarnDynamicPropertyTrait.php index 41b998d8..bf62d78e 100644 --- a/src/WarnDynamicPropertyTrait.php +++ b/src/WarnDynamicPropertyTrait.php @@ -12,7 +12,7 @@ trait WarnDynamicPropertyTrait { protected function warnPropertyDoesNotExist(string $name): void { - // match native PHP behaviour as much as possible + // match native PHP behavior as much as possible // https://3v4l.org/2KR3m $class = static::class; try { diff --git a/tests/Phpunit/TestCaseTest.php b/tests/Phpunit/TestCaseTest.php index 4522ba5a..c2e3a915 100644 --- a/tests/Phpunit/TestCaseTest.php +++ b/tests/Phpunit/TestCaseTest.php @@ -153,4 +153,9 @@ public function testCoverageImplForTestMarkedAsIncomplete(): void \Closure::bind(fn () => $this->status = $testStatusOrig, $this, PhpunitTestCase::class)(); } } + + public function testZendAssertions(): void + { + self::assertSame('1', ini_get('zend.assertions')); + } }