Adds explicit return type declarations to 498 controller methods across 88 files. Types inferred from return statements: - JsonResponse for response()->json() returns - RedirectResponse for redirect()/back() returns - View (contract) for view() returns - Response for response() returns - void for methods with no return value - array for array returns - string/int/bool for scalar returns Also fixes 3 methods with incorrect bare returns: - AvatarController::deleteAvatar - bare return → json response - ImportPostController::checkPermissions - bare return → true - RemoteAuthController::accountToId - bare return → empty array |
4 weeks ago | |
|---|---|---|
| .ddev | ||
| .github | 4 weeks ago | |
| .vscode | ||
| app | 4 weeks ago | |
| bootstrap | 4 weeks ago | |
| config | 4 weeks ago | |
| database | 4 weeks ago | |
| public | 4 weeks ago | |
| resources | 4 weeks ago | |
| routes | 4 weeks ago | |
| storage | ||
| tests | 4 weeks ago | |
| .dockerignore | ||
| .editorconfig | ||
| .env.docker.example | 4 weeks ago | |
| .env.example | 4 weeks ago | |
| .env.testing | 4 weeks ago | |
| .gitattributes | ||
| .gitignore | ||
| .markdownlint.json | ||
| .node-version | ||
| .shellcheckrc | ||
| CHANGELOG.md | 4 weeks ago | |
| CODEOWNERS | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| DOCKER_COMPOSE_SETUP.md | 4 weeks ago | |
| Dockerfile | ||
| LICENSE | ||
| README.md | ||
| SECURITY.md | ||
| artisan | ||
| composer.json | 4 weeks ago | |
| composer.lock | 4 weeks ago | |
| crowdin.yml | ||
| docker-compose.test.yml | 4 weeks ago | |
| docker-compose.yml | 4 weeks ago | |
| funding.json | ||
| larastan | ||
| package-lock.json | ||
| package.json | ||
| phpstan.neon | 4 weeks ago | |
| phpunit.xml | 4 weeks ago | |
| pint.json | ||
| server.php | ||
| webpack.mix.js | ||
README.md
Introduction
Photo sharing the way it should be. Pixelfed lets your casual shots and creative photography find their audience naturally, without algorithmic barriers. Join millions of people sharing across the fediverse.
Official Documentation
Documentation for Pixelfed can be found on the Pixelfed documentation website.
Run on YunoHost
Pixelfed app for YunoHost. See the package source code
License
Pixelfed is open-sourced software licensed under the AGPL license.
Communication
The ways you can communicate on the project are below. Before interacting, please read through the Code Of Conduct.
- Mastodon: @pixelfed@mastodon.social
- E-mail: hello@pixelfed.org
Pixelfed Sponsors
We would like to extend our thanks to the following sponsors for funding Pixelfed development. If you are interested in becoming a sponsor, please visit the Pixelfed Patreon Page
- NLnet Foundation and NGI0 Discovery, part of the Next Generation Internet initiative.
This project is supported by:
