Skip to content
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

Working on code quality #148

Merged
merged 8 commits into from
Nov 22, 2018
Merged

Working on code quality #148

merged 8 commits into from
Nov 22, 2018

Conversation

bobdenotter
Copy link
Member

From "Found 37 errors that needs to be fixed manually" down to "Found 27 errors that needs to be fixed manually"

src/Twig/ArrayExtension.php Outdated Show resolved Hide resolved
src/Twig/RecordExtension.php Outdated Show resolved Hide resolved
@bobdenotter
Copy link
Member Author

PR updated.

@bobdenotter
Copy link
Member Author

ECS is in agreement with the code now.. On to PHPstan!

src/Controller/Async/Uploader.php Outdated Show resolved Hide resolved
src/Controller/Backend/ContentEditController.php Outdated Show resolved Hide resolved
src/Controller/ImageController.php Outdated Show resolved Hide resolved
src/Entity/ContentMagicTraits.php Outdated Show resolved Hide resolved
src/Entity/ContentMagicTraits.php Show resolved Hide resolved
@bobdenotter
Copy link
Member Author

@JarJak My latest commit bumps Doctrine to 2.10. It doesn't have the deprecation notice anymore, and it also resolves this issue with Travis:

screenshot 2018-11-21 at 21 29 30

@JarJak
Copy link
Member

JarJak commented Nov 21, 2018

I really like how changes are going and I love how Laravel Collections are used here (much better than using array_* functions) :)

@JarJak
Copy link
Member

JarJak commented Nov 21, 2018

Wow, all green! 🥇 Now we can put phpstan level up :D (but in another PR)

src/Content/MediaFactory.php Show resolved Hide resolved
src/TemplateChooser.php Outdated Show resolved Hide resolved
src/Entity/ContentMagicTraits.php Show resolved Hide resolved
src/Entity/ContentMagicTraits.php Show resolved Hide resolved
@JarJak
Copy link
Member

JarJak commented Nov 22, 2018

I really don't like all those "magic" methods in ContentMagicTrait. Can we at least rename them to be less magical? :)

@bobdenotter
Copy link
Member Author

bobdenotter commented Nov 22, 2018 via email

@JarJak JarJak mentioned this pull request Nov 22, 2018
3 tasks
@JarJak JarJak merged commit f7c5a2b into master Nov 22, 2018
@bobdenotter bobdenotter deleted the working-on-code-quality branch November 24, 2018 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants