check
class check extends command
Properties
protected user | $user | from command | |
protected config | $config | ||
protected ContainerBuilder | $phpbb_container |
Methods
Construct method
Create a styled progress bar
Configures the service.
Executes the command.
Check if a given extension is up to date
Check if the core is up to date
Check if all the available extensions are up to date
Display the details of the available updates
Details
at line 43
__construct(user $user, config $config, ContainerInterface $phpbb_container, language $language)
Construct method
in
command at line 45
ProgressBar
create_progress_bar(int $max, SymfonyStyle $io, OutputInterface $output, bool $message = false)
Create a styled progress bar
at line 61
protected null
configure()
Configures the service.
Sets the name and description of the command.
at line 84
protected int
execute(InputInterface $input, OutputInterface $output)
Executes the command.
Checks if an update is available. If at least one is available, a message is printed and if verbose mode is set the list of possible updates is printed. If their is none, nothing is printed unless verbose mode is set.
at line 133
protected int
check_ext(InputInterface $input, SymfonyStyle $io, string $stability, bool $recheck, string $ext_name)
Check if a given extension is up to date
at line 187
protected int
check_core(InputInterface $input, SymfonyStyle $io, string $stability, bool $recheck)
Check if the core is up to date
at line 231
protected int
check_all_ext(SymfonyStyle $io, string $stability, bool $recheck)
Check if all the available extensions are up to date
at line 304
protected
display_versions(SymfonyStyle $io, array $updates_available)
Display the details of the available updates