[PR #155] [MERGED] Fix for deprecated features in PHP 8.1 #165

Closed
opened 2026-02-25 23:41:00 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/HaschekSolutions/pictshare/pull/155
Author: @metalefty
Created: 3/7/2024
Status: Merged
Merged: 4/15/2024
Merged by: @geek-at

Base: masterHead: passing-null


📝 Commits (1)

  • 783f996 Fix for deprecated features in PHP 8.1

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 inc/core.php (+1 -1)

📄 Description

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string

ref. https://www.php.net/manual/en/migration81.deprecated.php#migration81.deprecated.core.null-not-nullable-internal

image


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/HaschekSolutions/pictshare/pull/155 **Author:** [@metalefty](https://github.com/metalefty) **Created:** 3/7/2024 **Status:** ✅ Merged **Merged:** 4/15/2024 **Merged by:** [@geek-at](https://github.com/geek-at) **Base:** `master` ← **Head:** `passing-null` --- ### 📝 Commits (1) - [`783f996`](https://github.com/HaschekSolutions/pictshare/commit/783f996e775ab5562ec614e7528fbc712f8951ce) Fix for deprecated features in PHP 8.1 ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `inc/core.php` (+1 -1) </details> ### 📄 Description ``` Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string ``` ref. https://www.php.net/manual/en/migration81.deprecated.php#migration81.deprecated.core.null-not-nullable-internal ![image](https://github.com/HaschekSolutions/pictshare/assets/941609/c3107c74-c366-4dde-87c2-680a90522ae6) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 23:41:00 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/pictshare#165
No description provided.