-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP8 for V1 #51
PHP8 for V1 #51
Conversation
91deb16
to
027b0e9
Compare
composer.json
Outdated
"tests": "phpunit", | ||
"ci": [ | ||
"@composer validate --strict", | ||
"@build" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
v buildu to pise
Run composer ci
./composer.json is valid
You made a reference to a non-existent script@build
Jakej byl zamer s tim @build
- pustit phpunit testy? Potom by tam mel byt @tests
;-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:D opraveno, sorry
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bylo by fajn, kdyby to ten skript skoncil, zajimavy ze to jen vypise warning a frci to dal...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To je ale vlastnost composeru když je tam ta stage není nebo je prázdná tak vrátí status code 0
tests/CsvFileErrorsTest.php
Outdated
if (PHP_MAJOR_VERSION > 7) { | ||
$this->markTestSkipped(); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
proc tohle? Slo by do toho skipped pridat description?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
přidal sem
@@ -40,7 +43,7 @@ public function invalidFileNameProvider() | |||
{ | |||
return [ | |||
["", 'Filename cannot be empty'], | |||
["\0", 'fopen() expects parameter 1 to be a valid path, string given'], | |||
// ["\0", 'fopen() expects parameter 1 to be a valid path, string given'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
co s timhle, smazat nebo pridat komentar proc je to zakomentovany?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
v php8 sa to chová trochu jinak a nejde to moc rozumně vyřesit bez hacků a ztráty dalšího času pro knihovnu co je obsolete.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jen par nejasnosti v testech...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Koukam jeste do tech testu, je tam 1 risky:
Bylo by dobry do toho testu pridat $this->expectNotToPerformAssertions(); Edit: ale vlastne je to pro starou verzi |
No description provided.