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

Install and configure tooling #14

Merged
merged 6 commits into from Oct 9, 2019

Conversation

niklasnatter
Copy link
Contributor

@niklasnatter niklasnatter commented Oct 7, 2019

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
License MIT

What's in this PR?

This PR installs and configures our usual tooling stack:

  • editorconfig file
  • php-cs-fixer
  • phpstan

@niklasnatter niklasnatter changed the title WIP: Install and configure tooling Install and configure tooling Oct 7, 2019
use Sulu\Component\Webspace\Webspace;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpKernel\Event\GetResponseEvent;

class SetThemeEventListenerTest extends TestCase
{
/**
* @var ActiveTheme
* @var ObjectProphecy>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you check this.

@@ -38,7 +38,7 @@ public function __construct(ActiveTheme $activeTheme)
*
* @param GetResponseEvent $event
*/
public function setActiveThemeOnRequest(GetResponseEvent $event)
public function setActiveThemeOnRequest(GetResponseEvent $event): void
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry this is a bc break we can not do this if not really needed use phpdocs instead.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😢

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i decided that im willing to make this break 😜

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👿

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants