Skip to content

Commit

Permalink
Session 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Awilum committed Jul 3, 2022
1 parent 9fe5740 commit dfeec39
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
<a name="4.0.0"></a>
# [4.0.0](https://github.com/glowyphp/session) (2022-07-03)
* Moving to PHP 8.1

<a name="3.0.0"></a>
# [3.0.0](https://github.com/glowyphp/session) (2021-12-23)
* Released under Glowy PHP Organization
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2022 Sergey Romanenko
Copyright (c) Sergey Romanenko

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<p align="center">
Session Package provide a fluent, object-oriented interface for working with Session.
</p>

<p align="center">
<a href="https://github.com/glowyphp/session/releases"><img alt="Version" src="https://img.shields.io/github/release/glowyphp/session.svg?label=version&color=green"></a> <a href="https://github.com/glowyphp/session"><img src="https://img.shields.io/badge/license-MIT-blue.svg?color=green" alt="License"></a> <a href="https://packagist.org/packages/glowy/session"><img src="https://poser.pugx.org/glowy/session/downloads" alt="Total downloads"></a> <img src="https://github.com/glowyphp/session/workflows/Static%20Analysis/badge.svg?branch=dev"> <img src="https://github.com/glowyphp/session/workflows/Tests/badge.svg">
<a href="https://app.codacy.com/gh/glowy/session?utm_source=github.com&utm_medium=referral&utm_content=glowy/session&utm_campaign=Badge_Grade_Dashboard"><img src="https://api.codacy.com/project/badge/Grade/72b4dc84c20145e1b77dc0004a3c8e3d"></a> <a href="https://codeclimate.com/github/glowy/session/maintainability"><img src="https://api.codeclimate.com/v1/badges/a4c673a4640a3863a9a4/maintainability" /></a> <img src="http://poser.pugx.org/glowy/session/require/php">
<img src="https://img.shields.io/badge/license-MIT-blue.svg?label=License" alt="License MIT"> <a href="https://packagist.org/packages/glowy/filesystem"><img src="https://poser.pugx.org/glowy/filesystem/downloads" alt="Total downloads"></a> <img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/glowyphp/filesystem?label=Stars"> <img alt="GitHub forks" src="https://img.shields.io/github/forks/glowyphp/filesystem?label=Forks"> <a href="https://hitsofcode.com"><img alt="Hits of Code" src="https://hitsofcode.com/github/glowyphp/filesystem?branch=4.x"></a> <a href="https://discord.gg/ewQkqgfBAc"><img src="https://img.shields.io/discord/423097982498635778.svg?logo=discord&label=Discord%20Chat" alt="Discord"></a>
</p>

<br>
Expand All @@ -30,4 +30,4 @@ Run tests

### License
[The MIT License (MIT)](https://github.com/glowyphp/session/blob/master/LICENSE.txt)
Copyright (c) 2022 [Sergey Romanenko](https://github.com/Awilum)
Copyright (c) [Sergey Romanenko](https://github.com/Awilum)
21 changes: 16 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,33 @@
"authors": [
{
"name": "Sergey Romanenko",
"email": "[email protected]",
"homepage": "https://github.com/Awilum"
"email": "[email protected]",
"homepage": "https://awilum.github.io"
}
],
"require": {
"php": "^7.4 || ^8.0"
"php": "^8.1"
},
"autoload":{
"psr-4": {
"Glowy\\Session\\": "src/"
}
},
"config": {
"apcu-autoloader": true,
"optimize-autoloader": true,
"platform-check": false,
"sort-packages": true,
"allow-plugins": {
"pestphp/pest-plugin": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"require-dev": {
"ext-iconv": "*",
"doctrine/coding-standard": "9.0.0",
"pestphp/pest": "^1.21.1",
"phpstan/phpstan": "^1.2.0",
"symfony/var-dumper": "^5.4.0"
"phpstan/phpstan": "^1.8.0",
"symfony/var-dumper": "^6.1.0"
}
}
10 changes: 10 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
parameters:
level: 3
paths:
- %currentWorkingDirectory%/src/
reportUnmatchedIgnoredErrors: false
checkGenericClassInNonGenericObjectType: false
checkMissingIterableValueType: false
ignoreErrors:
# ignore
- '#Unsafe usage of new static\(\)\.#'
2 changes: 1 addition & 1 deletion src/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ public function close(): void
*
* @see http://php.net/manual/en/session.configuration.php
*
* @param array $config The session options.
* @param array $options The session options.
*/
public function setOptions(array $options): void
{
Expand Down

0 comments on commit dfeec39

Please sign in to comment.