Closed guibranco closed 1 week ago
The changes in this pull request focus on modifying the session handling logic within the Src/session.php
file. Individual ini_set
calls for session cookie parameters have been replaced with a consolidated approach using the session_set_cookie_params
function. This function is called with an array of parameters, and the session is started afterward. The overall control flow remains unchanged, but the method of configuring session cookies has been streamlined.
File | Change Summary |
---|---|
Src/session.php |
Removed individual ini_set calls for session cookie parameters; replaced with session_set_cookie_params function. session_start() is called afterward. |
Src/index.php
file to remove individual session cookie settings and instead include a require_once 'session.php';
statement, which aligns with the changes made in the main PR that consolidates session cookie parameters into a single function call in Src/session.php
.☑️ auto-merge
, size/S
In the code where sessions play,
A rabbit hops, and changes sway.
With cookie settings now so neat,
A single call makes it complete!
Hooray for sessions, fresh and bright,
Let's hop along, it feels just right! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Infisical secrets check: :white_check_mark: No secrets leaked!
Scan results:
8:09PM INF scanning for exposed secrets...
8:09PM INF 647 commits scanned.
8:09PM INF scan completed in 284ms
8:09PM INF no leaks found
:rocket: Postman tests are disabled
:x: The Postman collection run is disabled.
:test_tube: Request tests summary
:white_check_mark: All test requests succeeded
:mag: Database integrity summary
:white_check_mark: The database integrity check succeeded
:fire_engine: Smoke tests summary
:fire: Smoke tests passed!
@gstraccini codacy bypass
Bypassing the Codacy analysis for this pull request! :warning:
Closes #
📑 Description
✅ Checks
☢️ Does this introduce a breaking change?
ℹ Additional Information
Summary by CodeRabbit
Bug Fixes
Chores