Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: code-lts/Laravel-FCM
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.8.0
Choose a base ref
...
head repository: code-lts/Laravel-FCM
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Mar 9, 2023

  1. Apply code optimisation

    williamdes committed Mar 9, 2023
    Copy the full SHA
    56a837d View commit details
  2. Copy the full SHA
    5d93f86 View commit details
  3. Copy the full SHA
    cfaad58 View commit details
  4. Copy the full SHA
    c0c422a View commit details
  5. Copy the full SHA
    6ecc131 View commit details

Commits on Mar 23, 2024

  1. Copy the full SHA
    4656354 View commit details
  2. Bump phpunit/phpunit.

    altin7m committed Mar 23, 2024
    Copy the full SHA
    dadd826 View commit details
  3. Migrate phpunit configuration

    altin7m committed Mar 23, 2024
    Copy the full SHA
    29877bf View commit details
  4. Revert "Migrate phpunit configuration"

    This reverts commit 29877bf.
    altin7m committed Mar 23, 2024
    Copy the full SHA
    b92d548 View commit details
  5. Bump actions

    williamdes committed Mar 23, 2024
    Copy the full SHA
    0cf144e View commit details
  6. Copy the full SHA
    197b502 View commit details
  7. Support phpUnit 11

    williamdes committed Mar 23, 2024
    Copy the full SHA
    6bbbacf View commit details
  8. Bump dev tools

    williamdes committed Mar 23, 2024
    Copy the full SHA
    781af99 View commit details
  9. Copy the full SHA
    14b2ed3 View commit details
  10. Update README

    williamdes committed Mar 23, 2024
    Copy the full SHA
    8c0f50d View commit details
  11. Copy the full SHA
    2832abf View commit details
  12. Copy the full SHA
    18a1a34 View commit details
  13. Do not fail fast

    williamdes committed Mar 23, 2024
    Copy the full SHA
    cce7378 View commit details
  14. Bump PHP for phpcs

    williamdes committed Mar 23, 2024
    Copy the full SHA
    34f2f33 View commit details
  15. Update the CHANGELOG

    williamdes committed Mar 23, 2024
    Copy the full SHA
    68b2836 View commit details

Commits on Jun 28, 2024

  1. Abandon this library

    williamdes committed Jun 28, 2024
    Copy the full SHA
    e9b18ae View commit details
  2. Copy the full SHA
    60a7a75 View commit details
Showing with 110 additions and 582 deletions.
  1. +41 −38 .github/workflows/lint-and-analyse.yml
  2. +39 −30 .github/workflows/tests.yml
  3. +5 −0 CHANGELOG.md
  4. +10 −491 README.md
  5. +5 −10 composer.json
  6. +1 −0 phpunit.xml
  7. +5 −9 src/Request/BaseRequest.php
  8. +1 −1 tests/DownstreamTest.php
  9. +1 −1 tests/MessageTest.php
  10. +1 −1 tests/TopicResponseTest.php
  11. +1 −1 tests/TopicsTest.php
79 changes: 41 additions & 38 deletions .github/workflows/lint-and-analyse.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,47 @@
name: Lint and analyse files

permissions:
contents: read

on: [push]

jobs:
lint-php:
name: Lint file
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use php 7.1
uses: shivammathur/setup-php@v2
with:
php-version: 7.1
- name: Validate composer.json and composer.lock
run: composer validate
- name: Cache module
uses: actions/cache@v3
with:
path: ~/.composer/cache/
key: composer-cache
- name: Install dependencies
run: composer install --no-interaction
- name: Lint files
run: composer run phpcs
lint-php:
name: Lint file
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use php 7.2
uses: shivammathur/setup-php@v2
with:
php-version: 7.2
- name: Validate composer.json and composer.lock
run: composer validate
- name: Cache module
uses: actions/cache@v3
with:
path: ~/.composer/cache/
key: composer-cache
- name: Install dependencies
run: composer install --no-interaction
- name: Lint files
run: composer run phpcs

analyse-php:
name: Analyse files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use php 7.4
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
- name: Cache module
uses: actions/cache@v3
with:
path: ~/.composer/cache/
key: composer-cache
- name: Install dependencies
run: composer install --no-interaction
- name: Analyse files
run: composer run phpstan
analyse-php:
name: Analyse files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use php 7.4
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
- name: Cache module
uses: actions/cache@v3
with:
path: ~/.composer/cache/
key: composer-cache
- name: Install dependencies
run: composer install --no-interaction
- name: Analyse files
run: composer run phpstan
69 changes: 39 additions & 30 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,38 +1,47 @@
name: Run tests

permissions:
contents: read

on:
push:
pull_request:
types: [opened, synchronize, reopened]

jobs:
test-php:
name: Test on php ${{ matrix.php-version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
php-version: ["7.1.3", "7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2"]
experimental: [false]
os: [ubuntu-latest]
composer-options: ['']
include:
- { php-version: 'nightly', composer-options: '--ignore-platform-req=php', experimental: true, os: ubuntu-latest }
steps:
- uses: actions/checkout@v3
- name: Use php ${{ matrix.php-version }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: xdebug
- name: Cache module
uses: actions/cache@v3
with:
path: ~/.composer/cache/
key: composer-cache
- name: Install dependencies
run: composer install --no-interaction --prefer-dist --no-progress ${{ matrix.composer-options }}
- name: Run php tests
run: composer run test
- name: Send coverage
uses: codecov/codecov-action@v3
test-php:
name: Test on php ${{ matrix.php-version }} and ${{ matrix.os }}
runs-on: ${{ matrix.os }}
continue-on-error: ${{ matrix.experimental }}
strategy:
fail-fast: false
matrix:
php-version: ["7.1.3", "7.1", "7.2", "7.3", "7.4", "8.0", "8.1", "8.2", "8.3"]
experimental: [false]
os: [ubuntu-latest]
composer-options: [""]
include:
- {
php-version: "nightly",
composer-options: "--ignore-platform-req=php",
experimental: true,
os: ubuntu-latest,
}
steps:
- uses: actions/checkout@v4
- name: Use php ${{ matrix.php-version }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: xdebug
- name: Cache module
uses: actions/cache@v3
with:
path: ~/.composer/cache/
key: composer-cache
- name: Install dependencies
run: composer install --no-interaction --prefer-dist --no-progress ${{ matrix.composer-options }}
- name: Run php tests
run: composer run test
- name: Send coverage
uses: codecov/codecov-action@v3
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [v1.x.x] - YYYY-MM-DD

## [v1.8.1] - 2024-03-23

- Support Laravel `^11`
- Support phpUnit `10` and `11`

## [v1.8.0] - 2023-01-16

- Support Laravel `^10`
Loading