folded-php / session Goto Github PK
View Code? Open in Web Editor NEWSession functions for your web app.
Home Page: https://packagist.org/packages/folded/session
License: MIT License
Session functions for your web app.
Home Page: https://packagist.org/packages/folded/session
License: MIT License
This package uses an old version of folded/exception.
Upgrade to folded/exception:0.4.*
When checking if a key exists, we should throw a SessionKeyNotFoundException instead of an OutOfRangeException.
The package throw a SessionKeyNotFoundException if a accessing a non existing key.
The package throw an OutOfRangeException when accessing a non existing session key.
None.
Static analysis helps catching bugs earlier.
pest --coverage && phpstan analyse src
phpstan.neon
configuration fileNone.
None.
When flashing a data, it is never removed when getting this data.
The flashed data is correctly removed.
The flashed data is never removed.
This happens because the flashed keys, that are tracked to be then flushed, are lost because we store them in a static property. As calling a web page completely refresh the web context, meaning the hole app is ran again, the static property gets emptied, and the code that is supposed to remove the flash key is never ran.
When the code loads functions, it should detect the existance of the function under the namespace instead of just the name of the function
The call of function_exists()
use the full qualified namespace.
namespace Folded;
if (!function_exists("Folded\theFunction")) {
// load the function now
}
Functions declared twice enters in collision.
None.
There is no templates for bugs and enhancements, which can reduce the chances someone will want to describe his issue or can make difficult to format and clarify an issue without proper templates.
For an enhancements, the following sections (using level 2 title, ##
) should be shown:
The text hints, using italic, should be shown below each of these titles (without the double quotes):
For a bug, the following sections (using level 2 title, ##
) should be shown:
The text hints, using italic, should be show below each of these titles (without the double quotes):
To write by hand the issue layout.
The Session class is not meant to be extended. Mark it as final.
The Session class is marked as final.
None.
None.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.