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

Reorganized/cleaned up Session classes #13538

Merged
merged 7 commits into from
Oct 19, 2018
Merged

Reorganized/cleaned up Session classes #13538

merged 7 commits into from
Oct 19, 2018

Conversation

niden
Copy link
Member

@niden niden commented Oct 19, 2018

Hello!

In raising this pull request, I confirm the following (please check boxes):

  • I have read and understood the Contributing Guidelines?
  • I have checked that another pull request for this purpose does not exist.
  • I wrote some tests for this PR.

Reorganized the methods and properties in alphabetical order (public, protected, private). Added a new copyright notice at the top of each file

Thanks

@niden niden requested a review from sergeyklay October 19, 2018 15:50
@niden niden added this to the 4.0.0 milestone Oct 19, 2018
@niden
Copy link
Member Author

niden commented Oct 19, 2018

cc @sergeyklay

@Jurigag
Copy link
Contributor

Jurigag commented Oct 19, 2018

Also remove session service from DI @niden Factory Default #12921 or let's imeplement this StartServiceInterface or something like this.

| |
| For the full copyright and license information, please view the LICENSE |
| file that was distributed with this source code. |
+-------------------------------------------------------------------------+
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we use a bit more simple format for this?

/**
 * This file is part of the Phalcon.
 *
 * (c) Phalcon Team <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

phalcon/session/adapter.zep Show resolved Hide resolved
@sergeyklay
Copy link
Contributor

sergeyklay commented Oct 19, 2018

@niden Is this issue related to #12833 ? As you can see we should refactor destroy too and in general follow the SessionHandlerInterface

@Jurigag
Copy link
Contributor

Jurigag commented Oct 19, 2018

Also add this method from here - #13535

@niden
Copy link
Member Author

niden commented Oct 19, 2018

@Jurigag @sergeyklay Those issues will be dealt with the next PR. I am consolidating a few issues in this PR such as #11341 #12833 #13535 and PR10883

Copy link
Contributor

@sergeyklay sergeyklay left a comment

Choose a reason for hiding this comment

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

LGTM

@niden niden merged commit 5cd047b into phalcon:4.0.x Oct 19, 2018
@niden niden added the documentation Documentation required label Apr 9, 2019
@niden niden added 4.0 breaks bc Functionality that breaks Backwards Compatibility enhancement Enhancement to the framework labels Oct 17, 2019
@niden niden removed this from the 4.0.0 milestone Oct 17, 2019
@niden niden removed the documentation Documentation required label Dec 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaks bc Functionality that breaks Backwards Compatibility enhancement Enhancement to the framework
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants