Skip to content

Changes in compiler cached objects deletetion Actions (Sensiolabs) #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

Merged
merged 11 commits into from
Jul 24, 2015

Conversation

fpapadopou
Copy link
Contributor

Fixes Sensiolabs Insights warnings caused by the fact the the deletion actions (delete all objects, or delete the cached objects of a specific core, or delete the cached objects of a specific library) were to long and had to be simplified, migrating most of their code into a new Handler called DeletionHandler.

tzikis and others added 11 commits January 9, 2015 05:08
These Controller actions are much bigger than they should be, and so the main logic should go to a Handler. Initial implementation for the 1st one (untelsted)
Moved code to DeletionHandler Service
If the object files dir wasn't opened, opendir echoes a Warning (probably depends on PHP settings), which would break our JSON. Fixed that
- Added brackets to flow control statements
- Replaced upper-case null with lower-case null
- Removed variables passed by reference, made all methods return from a
  single point
- camelCased variables, except for $auth_key, which is already changed
  on the master branch.
- Made braces follow PSR-2
- Removed unnecessary else statements
- Changed all double quotes to single quotes in strings
…etionaction-fixes

Had to completely remove the composer.lock file and run composer update
@fpapadopou
Copy link
Contributor Author

All good. Merging the PR to dev

fpapadopou added a commit that referenced this pull request Jul 24, 2015
…ction-fixes

Changes in compiler cached objects deletetion Actions (Sensiolabs)
@fpapadopou fpapadopou merged commit 290356e into dev Jul 24, 2015
@fpapadopou fpapadopou deleted the sensiolabs-insight-deletionaction-fixes branch January 4, 2016 14:46
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.

3 participants