Skip to content

ClassMapper and Docker improvements#936

Merged
Silic0nS0ldier merged 15 commits intodevelopfrom
develop-jordan
Feb 16, 2019
Merged

ClassMapper and Docker improvements#936
Silic0nS0ldier merged 15 commits intodevelopfrom
develop-jordan

Conversation

@Silic0nS0ldier
Copy link
Copy Markdown
Member

@Silic0nS0ldier Silic0nS0ldier commented Feb 16, 2019

Original goal here was to improve readability of code when the class mapper is used. Unfortunately PHP 5.6's ability to handle compound statements is atrocious, so the scope of the changes has been severely limited and the incompatible changes have been pushed off to another 4.3 specific branch.

There area few other tidbits in here as well (docker, README, etc) that should be non-functional changes for the most part.

@Silic0nS0ldier Silic0nS0ldier changed the base branch from master to develop February 16, 2019 04:26
@Silic0nS0ldier Silic0nS0ldier changed the title ClassMapper usage improvements ClassMapper usage improvements + Docker documentation updates Feb 16, 2019
@Silic0nS0ldier
Copy link
Copy Markdown
Member Author

Well, it seems that while PHP 5.6 supports the syntax, it doesn't support compound syntax. Unsupported changes will be split off to another branch in the meantime for 4.3.

@Silic0nS0ldier Silic0nS0ldier changed the title ClassMapper usage improvements + Docker documentation updates ClassMapper improvements + Docker documentation updates Feb 16, 2019
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 16, 2019

Codecov Report

Merging #936 into develop will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop     #936      +/-   ##
=============================================
+ Coverage      36.85%   36.87%   +0.01%     
  Complexity      2120     2120              
=============================================
  Files            158      158              
  Lines           7212     7211       -1     
=============================================
+ Hits            2658     2659       +1     
+ Misses          4554     4552       -2
Impacted Files Coverage Δ Complexity Δ
app/sprinkles/core/src/Util/ClassMapper.php 88.23% <100%> (-0.66%) 6 <0> (ø)
.../sprinkles/core/src/Session/NullSessionHandler.php 83.33% <0%> (+16.66%) 6% <0%> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ac1490e...86821fb. Read the comment docs.

@Silic0nS0ldier Silic0nS0ldier added this to the 4.2.0 milestone Feb 16, 2019
- Use Alpine for PHP
- Removed commands from composer and node services in favour of on-demand command execution
- Updated docker README
@Silic0nS0ldier Silic0nS0ldier changed the title ClassMapper improvements + Docker documentation updates ClassMapper and Docker improvements Feb 16, 2019
@Silic0nS0ldier Silic0nS0ldier marked this pull request as ready for review February 16, 2019 07:44
@Silic0nS0ldier Silic0nS0ldier requested a review from a team February 16, 2019 07:45
Comment thread app/sprinkles/core/src/Util/ClassMapper.php
@Silic0nS0ldier Silic0nS0ldier merged commit 73850f6 into develop Feb 16, 2019
@Silic0nS0ldier Silic0nS0ldier deleted the develop-jordan branch February 16, 2019 21:38
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