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

Upgrade nette #79

Merged
merged 16 commits into from
Apr 9, 2019
Merged

Upgrade nette #79

merged 16 commits into from
Apr 9, 2019

Conversation

Spamercz
Copy link
Member

@Spamercz Spamercz commented Apr 2, 2019

Composer require PHP >= 7.1

Travis and Composer cleanup

  • Unified travis.yml
  • Added PHPStan to travis
  • Added CodingStandard to travis
  • removed unused nette libraries
  • Added PHPStan
  • Added Kdyby/CodingStandard
  • Moved PHPCoveralls to composer
  • Added Typo3/ClassAliasLoader

Exception split to own files

  • Old namespaces aliased

Other

  • Local php ini for tests
  • Removed unused register method
  • Nette framework version resolving not to be dependent on nette/application
  • fixed onShutdown event for PHPStan onShutdown only magically calls foreach on property, so i did it here too.
  • \Kdyby\StrictObjects\Scream is not compatible with Nette/SmartObject

unused arguments in tests reported by PHPStan

  • so use them as if it was application
  • added to properties and made getters

TODO

  • needs kdyby/events update to nette 3.0

Tomas Kozak and others added 10 commits March 31, 2019 11:30
- Unified travis.yml
- Added PHPStan to travis
- Added CodingStandard to travis
- removed unused nette libraries
- Added PHPStan
- Added Kdyby/CodingStandard
- Moved PHPCoveralls to composer
- Added Typo3/ClassAliasLoader
- Old namespaces aliased
…ation

- application requires all packages which is adding too much dependecies to library
`onShutdown` only magically calls foreach on property, so i did it here too.
- so use them as if it was application
- added to properties and made getters
@Spamercz Spamercz force-pushed the upgrade-nette branch 2 times, most recently from 1da2c68 to 0d336f8 Compare April 8, 2019 00:21
- Resolved set of working dependencies, not much space to navigate because of typed interfaces in nette 3.0
- Temporary added forked kdyby/events
- Updated CLIRouter to new nette/routing (implemented different interface, match returns array instead of \Nette\Application\Request
- CLIPresenter needs name but nette now does not allow to modify
composer.json Outdated Show resolved Hide resolved
- whitespaces
- newline at end of file
},
"minimum-stability": "dev",
Copy link
Member

Choose a reason for hiding this comment

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

tohle by tady imho mělo zustat, ne?

Copy link
Member Author

Choose a reason for hiding this comment

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

ok vrátím

@fprochazka fprochazka merged commit 28bc206 into Kdyby:master Apr 9, 2019
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