diff --git a/CHANGELOG.md b/CHANGELOG.md index 395cbd76..c0797555 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## 1.7.4 (not yet released) * CHANGED: Saving markdown pastes uses `.md` extension instead of `.txt` (#1293) +* CHANGED: Enable strict type checking in PHP (#1350) * FIXED: Reset password input field on creation of new paste (#1194) * FIXED: Allow database schema upgrade to skip versions (#1343) diff --git a/bin/administration b/bin/administration index 0a9a52e7..17b2e0f5 100755 --- a/bin/administration +++ b/bin/administration @@ -1,5 +1,5 @@ #!/usr/bin/env php -assertTrue(copy($file, $path . DIRECTORY_SEPARATOR . $file->getBasename())); + $this->assertTrue(copy($file->getPathname(), $path . DIRECTORY_SEPARATOR . $file->getBasename())); } I18nMock::resetPath($path); diff --git a/tst/JsonApiTest.php b/tst/JsonApiTest.php index 6de7f7bd..07f33ad2 100644 --- a/tst/JsonApiTest.php +++ b/tst/JsonApiTest.php @@ -1,4 +1,4 @@ -